Created: 2022-07-10
Tags: #fleeting
fopen("file_path", "mode");r+ -> READING and WRITING
-> If file NOT exist, then fopen() returns NULL
w+ -> READING and WRITING
-> if file EXISTS, then contents overwritten
-> if file NOT exist, will be created
a+ -> APPENDING and READING
-> if file NOT exist, will be created
rb+ -> READING and WRITING in binary mode
-> If file NOT exist, then fopen() returns NULL
wb+ -> READING and WRITING in binary mode
-> if file EXISTS, then contents overwritten
-> if file NOT exist, will be created
ab+ -> APPENDING and WRITING in binary mode
-> if file NOT exist, will be created